﻿using System.Collections.Generic;

namespace 热更验证
{
    struct Xinmiaomiao
    {
        /// <summary>
        /// Id
        /// </summary>
        public string petId;

        /// <summary>
        /// 精灵名字
        /// </summary>
        public string petName;

        /// <summary>
        /// 进化Id
        /// </summary>
        public string nextPetId;

        /// <summary>
        /// 前置ID
        /// </summary>
        public string prePetId;

        /// <summary>
        /// 系列ID
        /// </summary>
        public string serise;

        /// <summary>
        /// 属性1
        /// </summary>
        public string element1;

        /// <summary>
        /// 属性2
        /// </summary>
        public string element2;

        /// <summary>
        /// 角色珍稀度展示
        /// </summary>
        public string petRankShow;

        /// <summary>
        /// 属性Id（种族值）
        /// </summary>
        public string petAbilityId;

        /// <summary>
        /// 性别
        /// </summary>
        public string sex;

        /// <summary>
        /// 是否有性别
        /// </summary>
        public string isNullSex;

        /// <summary>
        /// 是否闪光
        /// </summary>
        public string flash;

        /// <summary>
        /// 是否存在图鉴之中
        /// </summary>
        public string isInPokeindex;

        /// <summary>
        /// 成长技能
        /// </summary>
        public string growSkill;

        /// <summary>
        /// 学习机技能
        /// </summary>
        public string studySkill;

        /// <summary>
        /// 普通特性
        /// </summary>
        public string characteristic;

        /// <summary>
        /// 升阶所需条件
        /// </summary>
        public string petUpgradeCondition;

        /// <summary>
        /// 升星所需条件
        /// </summary>
        public string petStarIncreaseCondition;

        /// <summary>
        /// 进化所需条件
        /// </summary>
        public string evolutionCondition;





        /// <summary>
        /// 对应极巨化精灵
        /// </summary>
        public string dynamaxPetId;

        /// <summary>
        /// 极巨腕带强化ID
        /// </summary>
        public string wristbandLvId;

        /// <summary>
        /// 性格洗练ID
        /// </summary>
        public string pokeCharacterClearId;

        /// <summary>
        /// 精灵分解
        /// </summary>
        public string disintegrate;

        public SortedList<int, string> GetShort()
        {
            string[] name = { "petId", "petName", "nextPetId",  "prePetId","serise", "element1", "element2", "petRankShow", "petAbilityId", "sex",
                "isNullSex", "flash", "isInPokeindex", "growSkill", "studySkill", "characteristic", "petUpgradeCondition", "petStarIncreaseCondition", "evolutionCondition",
                "dynamaxPetId", "wristbandLvId" ,"pokeCharacterClearId","disintegrate"};
            SortedList<int, string> sl = new SortedList<int, string>();
            for (int i = 0; i < name.Length; i++)
            {
                sl.Add(i, name[i]);
            }
            sl.TrimExcess();
            return sl;
        }
        public SortedList<int, string> GetShortName()
        {
            string[] name = { "精灵Id", "精灵名字", "进化Id", "前置ID","成长技能", "学习机", "普通特性", "特性列表", "升阶条件", "升星条件", "升星材料", 
                "进化条件", "进化材料","极巨精灵", "腕带ID" , "性格洗练" ,"精灵分解"};
            SortedList<int, string> sl = new SortedList<int, string>();
            for (int i = 0; i < name.Length; i++)
            {
                sl.Add(i, name[i]);
            }
            sl.TrimExcess();
            return sl;
        }
    }
}
